package com.gaohe.scp.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.gaohe.common.annotation.Excel;
import com.gaohe.common.core.domain.BaseEntity;

/**
 * 车辆归属对象 cs_car_belong
 * 
 * @author liuxiangyu
 * @date 2025-03-25
 */
public class CsCarBelong extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 归属ID */
    private Long belongId;

    /** 车辆id */
    @Excel(name = "车辆id")
    private Long carId;

    /** 车辆名称 */
    @Excel(name = "车辆名称")
    private String carName;

    /** 归属人 */
    @Excel(name = "归属人")
    private String belongPerson;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String phone;

    /** 生日 */
    @Excel(name = "生日")
    private String birthday;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idNumber;

    /** 所在地 */
    @Excel(name = "所在地")
    private String belongAddress;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 是否删除 */
    private String delFlag;
    private String address; // 确保有这个属性

    public String getAddress() { // 确保有这个getter
        return address;
    }

    public void setAddress(String address) { // 确保有这个setter
        this.address = address;
    }

    public void setBelongId(Long belongId) 
    {
        this.belongId = belongId;
    }

    public Long getBelongId() 
    {
        return belongId;
    }

    public void setCarId(Long carId) 
    {
        this.carId = carId;
    }

    public Long getCarId() 
    {
        return carId;
    }

    public void setCarName(String carName) 
    {
        this.carName = carName;
    }

    public String getCarName() 
    {
        return carName;
    }

    public void setBelongPerson(String belongPerson) 
    {
        this.belongPerson = belongPerson;
    }

    public String getBelongPerson() 
    {
        return belongPerson;
    }

    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setBirthday(String birthday) 
    {
        this.birthday = birthday;
    }

    public String getBirthday() 
    {
        return birthday;
    }

    public void setIdNumber(String idNumber) 
    {
        this.idNumber = idNumber;
    }

    public String getIdNumber() 
    {
        return idNumber;
    }

    public void setBelongAddress(String belongAddress)
    {
        this.belongAddress = belongAddress;
    }

    public String getBelongAddress()
    {
        return belongAddress;
    }

    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("belongId", getBelongId())
            .append("carId", getCarId())
            .append("carName", getCarName())
            .append("belongPerson", getBelongPerson())
            .append("sex", getSex())
            .append("phone", getPhone())
            .append("birthday", getBirthday())
            .append("idNumber", getIdNumber())
            .append("address", getBelongAddress())
            .append("email", getEmail())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
